/**
 * 
 */
package com.rapwaves.feeds.action.converters;

import com.google.gwt.user.client.rpc.IsSerializable;
import com.google.gwt.user.client.ui.Widget;
import com.rapwaves.feeds.action.beans.AbstractAction;

/**
 * @author asanthan
 * 
 */
public abstract class ActionConverter<T extends AbstractAction> implements IsSerializable {
	public abstract Widget convert(T bean);

	public Widget convertTo(AbstractAction bean) {
		return convert((T) bean);
	}
}
